package com.wuxiaolong.tools.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Description:
 *
 * @author Leo
 * @date 2020-04-12
 */
@Slf4j
@Controller
@RequestMapping(value = "/cloud")
public class YunController {

    /**
     * 测试Thymeleaf
     * 要求使用@Controller
     * @return
     */
    @GetMapping("/home.html")
    public String testThymeleaf(){
        return "/pages/cloud";
    }
}
